package cate.common.table.jungle.task;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.util.random.RWItem;

@EExcelRowClass(note = "丛林冒险-冒险任务 Row", IDTitle = "任务品质")
public class JungleTaskRow extends ERow implements RWItem {
    @EExcelNoteField(fieldName = "权重", defaultValue = "0")
    public double weight;
    @EExcelNoteField(fieldName = "任务奖励")
    public String taskRewardStr;
    @EExcelNoteField(fieldName = "掠夺奖励")
    public String robRewardStr;
    @EExcelNoteField(fieldName = "任务时间")
    public int taskTimeSec;
    @EExcelNoteField(fieldName = "是否触发随机buff", defaultValue = "0")
    public boolean triggerRandomBuff;

    @Override
    public double getWeight() {
        return weight;
    }
}
